/*
 * @(#)ComponentRole.java   09/10/15
 * 
 * Copyright (C) 2009 Ecole des Mines d'Ales
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * Contact: yulinz88@gmail.com
 */



/**
 *
 */
package fr.ema.arch3d.model.architecture.specification;

import fr.ema.arch3d.model.architecture.Interface;
import fr.ema.arch3d.model.architecture.textADL.ADLDoc;

//~--- interfaces -------------------------------------------------------------

/**
 * class description
 *
 * @version    version 15 oct. 2009
 * @author     Huaxi (Yulin) ZHANG
 */
public interface ComponentRole {

    /**
     * Getter of the property <tt>doc</tt>
     *
     * @return  the doc
     */
    public ADLDoc getDoc();

    /**
     * Setter of the property <tt>doc</tt>
     *
     * @param doc  the doc to set
     */
    public void setDoc(ADLDoc doc);

    /**
     * Getter of the property <tt>behavior</tt>
     *
     * @return  the behavior
     */
    public String getBehavior();

    /**
     * Getter of the property <tt>name</tt>
     *
     * @return  the name
     */
    public String getName();

    /**
     * Getter of the property <tt>interfaces</tt>
     *
     * @return  the interfaces
     */
    public Interface[] getInterfaces();
    /**
     * Setter of the property <tt>name</tt>
     *
     * @param name  the name to set
     */
    public void setName(String name) ;

    /**
     * Setter of the property <tt>behavior</tt>
     *
     * @param behavior  the behavior to set
     */
    public void setBehavior(String behavior) ;

    /**
     * Setter of the property <tt>interfaces</tt>
     *
     * @param interfaces  the interfaces to set
     */
    public void setInterfaces(Interface[] interfaces) ;

}
